package com.huafv.flyauth.web.admin.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.huafv.flyauth.common.dto.SysMenuDto;
import com.huafv.flyauth.core.domain.TreeNode;
import com.huafv.flyauth.web.admin.entity.SysMenu;
import com.huafv.flyauth.web.admin.entity.SysUser;

import java.util.List;
import java.util.Map;


public interface SysMenuService extends IService<SysMenu> {

    List<String> getPermsByUserId(Long userid);

    List<SysMenuDto> getCurrentUserMenu(String username);

    List<SysMenu> allMenusTree();

     SysMenu getMenuInfo(Long menu_id);

    int saveMenuInfo(Map<String, Object> objectMap);

    int updateMenuInfo(Map<String, Object> objectMap);

    List<TreeNode> allMenusTreeNode();

}
